package com.darrenchan.java;

import java.util.ArrayList;
import java.util.List;

public class LamdaTest {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("chenchi");
        list.add("shizetao");
        list.add("sujunjun");
        list.forEach(x -> {
            System.out.println(x);
        });
    }
}
